package entity;

import java.util.Date;

//对应数据库中的user_login表
public class User {
	private Integer userId;//用户ID
	private String username;//用户登录名
	private String password;//md5加密的密码
	private Integer user_status;//用户状态
	private Date modified_time;//最后修改时间
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getUser_status() {
		return user_status;
	}
	public void setUser_status(Integer user_status) {
		this.user_status = user_status;
	}
	public Date getModified_time() {
		return modified_time;
	}
	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public User(String username, String password, Integer user_status, Date modified_time) {
		super();
		this.username = username;
		this.password = password;
		this.user_status = user_status;
		this.modified_time = modified_time;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", username=" + username + ", password=" + password + ", user_status="
				+ user_status + ", modified_time=" + modified_time + "]";
	}
	
}
